<!-- Begin one column window -->
<div class="onecolumn">
    <div class="header">
        <span style="font-weight: bold; text-align: center; color: red;">Các chính sách lưu thông</span>
    </div>
    <br class="clear"/>
    <div class="content">
        <table class="data" width="100%" cellpadding="0" cellspacing="0">
            <thead>
                <tr>
                    <th style="width:10%">Số STT</th>
                    <th style="width:20%">Mã chính sách LT</th>
                    <th style="width:30%">Mô tả</th>
                    <th style="width:12%">Số lượng</th>
                    <th style="width:13%">Đơn vị tính</th>
                    <th style="width:15%">Thao tác</th>
                </tr>
            </thead>
            <tbody>
                <?php $i = 1; ?>
                <?php foreach ($paginator as $row) : ?>
                    <tr>
                        <td><?php echo $this->escapeHtml($i++); ?></td>
                        <td><?php echo $this->escapeHtml($row->policyID); ?></td>
                        <td><?php echo $this->escapeHtml($row->policyName); ?></td>
                        <td><?php echo $this->escapeHtml($row->amount); ?></td>
                        <td><?php echo $this->escapeHtml($row->unitOf); ?></td>
                        <td>
                            <a href="<?php echo $this->url('list-policy-traffic/default', array('action' => 'editCiculationPolicy', 'id' => $row->policyID))?>"><img src="<?php echo $this->basePath() . '/img/icon_edit.png' ?>" alt="edit" class="help" title="Chỉnh sửa"/></a>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
        <?php
        // add at the end of the file after the table
        echo $this->paginationControl(
                // the paginator object
                $this->paginator,
                // the scrolling style; see http://zf2.readthedocs.org/en/release-2.1.4/modules/zend.paginator.usage.html#rendering-pages-with-view-scripts
                'sliding',
                // the partial to use to render the control
                array('partial/paginator.phtml', 'Admin'),
                // the route to link to when a user clicks a control link
                array(
            'route' => 'list-reader'
                )
        );
        ?>
    </div>
</div>
<!-- End one column window -->